package com.glory.cqaospda.adapter;


import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.viewholder.BaseViewHolder;
import com.glory.cqaospda.R;
import com.glory.cqaospda.bean.RunLotHiBean;

import java.util.List;

import androidx.annotation.Nullable;

public class LotEndAdapter extends BaseQuickAdapter<RunLotHiBean.Parameterlist, BaseViewHolder> {
    private List<RunLotHiBean.Parameterlist> datalist;

    public LotEndAdapter(@Nullable List<RunLotHiBean.Parameterlist> data) {
        super(R.layout.adapter_lotend, data);
        datalist = data;
    }

    @Override
    protected void convert(BaseViewHolder helper, RunLotHiBean.Parameterlist item) {
        helper.setText(R.id.tvNo, item.getNo());
        helper.setText(R.id.tvParametermame, item.getParametermame());
        helper.setText(R.id.tvParameternumber, item.getParameternumber());
        helper.setText(R.id.tvParameteryield, item.getParameteryield());

    }

}
